package com.naiterui.ehp.bs.esign.feign;

import com.naiterui.ehp.bp.bo.groupConsult.GroupConsultSignCallbackBO;
import com.naiterui.ehp.bp.support.config.FeignConfiguration;
import com.naiterui.ehp.bp.support.exception.BusinessException;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 视频问诊内部服务API
 */
@FeignClient(name = "esignVideoConsult", url = "${ehp.domain.videoConsult}", configuration = FeignConfiguration.class)
public interface IVideoConsultFeignClient {

    /**
     * 会诊单签名结果回调
     *
     * @param signCallbackBO /
     */
    @PostMapping("inner/esign/sign/result")
    void signResult(@RequestBody GroupConsultSignCallbackBO signCallbackBO) throws BusinessException;

}